package object;

public class Integer1 {
    public static void main(String[] args) {
        String a = "666";
        int a1 = Integer.parseInt(a);

        String b = "66.66";
        double b1 = Double.parseDouble(b);

        int max = Integer.MAX_VALUE;
        int min = Integer.MIN_VALUE;
        System.out.println("int型最大值为:"+max+",int型最小值为:"+min);

        long max1 = Long.MAX_VALUE;
        long min1 = Long.MIN_VALUE;
        System.out.println("long型最大值为:"+max1+",long型最小值为:"+min1);


    }
}
